﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model.EntityModel.Auth;
using Model.EntityModel.SysModel;
using Model.ResultModel;
using Group = Model.EntityModel.Auth.Group;

namespace Service.IService.ISysService
{
    /// <summary>
    /// 部门与组别关联服务接口
    /// </summary>
    public interface IDeptGroupService
    {
     
        List<Dept> GetDeptGroups(string deptId);
        bool AddGroupsToDept(string deptId, List<string> groupIds);
        bool RemoveGroupsFromDept(string deptId, List<string> groupIds);
        bool UpdateDeptGroupStatus(string relationId, string isActive);
        bool DeptGroupExists(string deptId, string groupId);
        List<Group> GetAvailableGroupsForDept(string deptId);
    }
}
